<?php
/**
{
    "remarkLikeId": "INT //ID",
    "nick": "VARCHAR //昵称@search; ",
    "remarkId": "INT //评论ID@foreign::tbl_remark_course; @search; ",
    "uid": "INT //用户@foreign::tbl_user; @search; ",
    "status": "TINYINT //状态@status::3::正常::@admin; 88::删除::@admin; ",
    "created": "DATETIME //时间"
}
 */

class RemarkCourseLike extends Base
{
    
	public $remarkLikeId= '';//ID
	public $nick= NULL;//昵称@search;
	public $remarkId= '';//评论ID@foreign::tbl_remark_course;@search;
	public $uid= '';//用户@foreign::tbl_user;@search;
	public $status= "3";//状态@status::3::正常::@admin;88::删除::@admin;
	public $created= 'CURRENT_TIMESTAMP';//时间

    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'tbl_remark_course_like';
    }
    
    public  function key(){
        return 'remarkLikeId';
    }


    
    public static  function hideField()
    {
        return [];
    }
            
    public static  function skipField()
    {
        return [];
    }
            
    public static  function noViewField()
    {
        return [];
    }
            
    public static  function jsonField()
    {
        return [];
    }
            
    public static  function noLoadField()
    {
        return [];
    }
            
    public static  function deleteField()
    {
        return [];
    }
            
    public function className()
    {
        return 'RemarkCourseLike';
    }
    
    public  function field()
    {
        return array (  'remarkLikeId' =>   array (    0 => 'INT',    1 => 11,    2 => 'ID',  ),  'nick' =>   array (    0 => 'VARCHAR',    1 => 100,    2 => '昵称@search;',  ),  'remarkId' =>   array (    0 => 'INT',    1 => 11,    2 => '评论ID@foreign::tbl_remark_course;@search;',  ),  'uid' =>   array (    0 => 'INT',    1 => 11,    2 => '用户@foreign::tbl_user;@search;',  ),  'status' =>   array (    0 => 'TINYINT',    1 => 4,    2 => '状态@status::3::正常::@admin;88::删除::@admin;',  ),  'created' =>   array (    0 => 'DATETIME',    1 => 0,    2 => '时间',  ),);
    }


}